package com.mornd.gulimall.product.entity.vo.spusave;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @author: mornd
 * @dateTime: 2023/8/3 - 22:03
 * 销售属性
 */

@Getter
@Setter
public class SaleVo {

    @NotNull
    @Min(0)
    private Long attrId;

    @NotBlank(message = "销售属性值不能为空")
    private String attrName;

}
